package cz.cvut.manatee.shared.concordance;

import java.io.Serializable;

public class ResultTableRow implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String[] attributs;
	private ResultTableWord[] leftContexts;
	private ResultTableWord[] kwics;
	private ResultTableWord[] rightContexts;

	public ResultTableRow(){
		
	}

	public ResultTableRow(String[] attributs, ResultTableWord[] leftContexts, ResultTableWord[] kwics, ResultTableWord[] rightContexts){
		this.attributs = attributs;
		this.leftContexts = leftContexts;
		this.kwics = kwics;
		this.rightContexts = rightContexts;
	}

	public void setData(String[] attributs, ResultTableWord[] leftContexts, ResultTableWord[] kwics, ResultTableWord[] rightContexts){
		this.attributs = attributs;
		this.leftContexts = leftContexts;
		this.kwics = kwics;
		this.rightContexts = rightContexts;
	}
	
	public String[] getAttributs(){
		return attributs;
	}
	
	public ResultTableWord[] getLeftContexts(){
		return leftContexts;
	}
	
	public ResultTableWord[] getKwics(){
		return kwics;
	}
	
	public ResultTableWord[] getRightContexts(){
		return rightContexts;
	}
	
}
